package com.thingsgrid.workorder.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Arrays;
import java.util.List;

@Data
public class Record implements Serializable {
    private static final long serialVersionUID = 1L;
    String currentOwn;
    String nextOwner;
    public  List<Record> getRecords(String currentOwn,String nextOwner){
        this.currentOwn = currentOwn;
        this.nextOwner = nextOwner;
        return Arrays.asList(this);
    }
}
